package edu.whu.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import edu.whu.demo.domain.UserRegister;

import java.text.ParseException;
import java.util.List;

public interface IUserRegisterService {
    boolean addUserRegister(String name,String email,int sms);

    boolean deleteUserRegister(String name) throws ParseException ;

    void deleteUserRegisterOk(String name);
    UserRegister selectById(String name);

    void updateUserRegister(UserRegister userRegister);

    List<UserRegister> getAllUserRegister();
}
